<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>EquTemper: ETVpCommand Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="$relpath<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="$relpath<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">EquTemper&#160;<span id="projectnumber">1.01</span></div>
   <div id="projectbrief">An equation editor.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_e_t_vp_command.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">ETVpCommand Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ETVpCommand" -->
<p>abstract class representing prerequisites for a command running in a <a class="el" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content.">ETSheetView</a>  
 <a href="class_e_t_vp_command.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Inheritance diagram for ETVpCommand:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="class_e_t_vp_command__inherit__graph.png" border="0" usemap="#_e_t_vp_command_inherit__map" alt="Inheritance graph"/></div>
<map name="_e_t_vp_command_inherit__map" id="_e_t_vp_command_inherit__map">
<area shape="rect" id="node3" href="class_e_t_vp_cmd___edit_sub_i.html" title="viewport command that edits an sub&#45;item" alt="" coords="5,83,144,112"/><area shape="rect" id="node5" href="class_e_t_vp_cmd___new_sub_i.html" title="command used to create new sub&#45;items; may create all known types" alt="" coords="168,83,312,112"/><area shape="rect" id="node7" href="class_e_t_vp_cmd___new_top_elem.html" title="command that creates a new item in a sheet" alt="" coords="336,83,504,112"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_e_t_vp_command-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#a919f569be71d8f417e00ef1bb1557956">ETVpCommand</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor;  <a href="#a919f569be71d8f417e00ef1bb1557956"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#ac9c2071b742249861bc03f1e576784a1">~ETVpCommand</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">destructor;  <a href="#ac9c2071b742249861bc03f1e576784a1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#abb40f35d33a109f7550d91af85de0218">start</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *trg_vp)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">the class is informed that the command is starting  <a href="#abb40f35d33a109f7550d91af85de0218"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#ae35397d6f001ef13361fbf0fd4ef75e2">cancel</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *trg_vp)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">the class is informed that the command is being canceled  <a href="#ae35397d6f001ef13361fbf0fd4ef75e2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#a2e48442e8622a56972f33f46971f8da4">accepted</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *trg_vp)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">the class is informed that the command is being accepted  <a href="#a2e48442e8622a56972f33f46971f8da4"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Events forwarded by the viewport</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#ad3fb068e50fe8f518265c06c58fb2680">context</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QContextMenuEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#a995a48ef9449601777474c4e4453d649">dragEnter</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QDragEnterEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#ace5d4b4b669703df76525d2cc875e26a">dragLeave</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QDragLeaveEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#a7bc954d05ad1b032b666bc1c04d358e7">dragMove</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QDragMoveEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#a9a8566dcd135de2105044f0558a15dbf">drop</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QDropEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#ab601006c812a493b2265a568816b4a0b">keyPress</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QKeyEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#abb89aac207b14f8ab95270e9f0612adc">keyRelease</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QKeyEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#afb56544aa243702fd1776e5b7502b5a0">mouseDoubleClick</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QMouseEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#abce6c7662c51e5c3a20d90d39b9adf92">mouseMove</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QMouseEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#ad71a8b31e1ba5256e43f21da9c82ff95">mousePress</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QMouseEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#a82c24bb89784483878867836cbe60a69">mouseRelease</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QMouseEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#a197c3d7038f8d962f650fd680d97bac6">paint</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QPaintEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_vp_command.html#a8ccab4db3b4322f97b9cb454bb202c48">wheel</a> (<a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *vp, QWheelEvent *event)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>abstract class representing prerequisites for a command running in a <a class="el" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content.">ETSheetView</a> </p>
<p>Each view is able to maintain a command independent of other views. Having multiple views looking at a single scene means that there may be multiple commands running against same scene. To address possible issues the view is required to only talk with the scene in "atomic" operations (that can't overlap with operations from other views or started from the code). As such, the (permanent) effect on the scene is only commited when the command finishes and all input from the user has been gathered. Commands may create temporary objects in the scene to show an interactive interface, but are required to limit the use of those as the effect is visible in other views, too.</p>
<p>The user first creates an instance of the command using the new() opperator. Then, particular functions may be used to adjust the options relevan to that command. Once the command is ready to be run, the pointer to the command is passed to <a class="el" href="class_e_t_sheet_view.html#aede56f48bf9600e59e3a58e1af33fc0c" title="starts a command; will cancel previous command if running">ETSheetView::startCommand()</a>. In turn, this will check the environment to make shure it's able to handle commands and will make preparations for the command to run smoothly. It will also call <a class="el" href="class_e_t_vp_command.html#abb40f35d33a109f7550d91af85de0218" title="the class is informed that the command is starting">start()</a> to inform the command that it's just about to begin. For various reasons, any of these steps may fail or the command may choose to perform the action it's intended to do in <a class="el" href="class_e_t_vp_command.html#abb40f35d33a109f7550d91af85de0218" title="the class is informed that the command is starting">start()</a>. If <a class="el" href="class_e_t_sheet_view.html#aede56f48bf9600e59e3a58e1af33fc0c" title="starts a command; will cancel previous command if running">ETSheetView::startCommand()</a> returns true the command is running and the ownership of the pointer is taken by the <a class="el" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content.">ETSheetView</a>. If, on the other hand, the function returns false, the ownership of the pointer remains with the caller and it's its own responsability to release the memory using <b>delete()</b> operator. The instance will be deleted during <a class="el" href="class_e_t_sheet_view.html#a4717e93e01e82f791945007293c0a5f2" title="cancels currently running command">ETSheetView::cancelCommand()</a> call if the command is accepted.</p>
<p>Commands may be canceled by either calling <a class="el" href="class_e_t_sheet_view.html#a4717e93e01e82f791945007293c0a5f2" title="cancels currently running command">ETSheetView::cancelCommand()</a> or <a class="el" href="class_e_t_sheet_view.html#ab6198569e016ba77703883a0472d69d7" title="stops current running command but ETCommand::accepted() is caled before">ETSheetView::acceptCommand()</a>. <b>acceptCommand()</b> will inform the accept() function, then will fall back to <b>cancelCommand()</b>. <b>cancelCommand()</b> simply informs the command (class instance) about the event and deletes(!) the class instance.</p>
<p>While a command is running mouse input and keyboard input is managed by it. </p>

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00114">114</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a919f569be71d8f417e00ef1bb1557956"></a><!-- doxytag: member="ETVpCommand::ETVpCommand" ref="a919f569be71d8f417e00ef1bb1557956" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ETVpCommand::ETVpCommand </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>constructor; </p>

<p>Definition at line <a class="el" href="_e_t_vp_command_8cc_source.html#l00055">55</a> of file <a class="el" href="_e_t_vp_command_8cc_source.html">ETVpCommand.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ac9c2071b742249861bc03f1e576784a1"></a><!-- doxytag: member="ETVpCommand::~ETVpCommand" ref="ac9c2071b742249861bc03f1e576784a1" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ETVpCommand::~ETVpCommand </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>destructor; </p>

<p>Definition at line <a class="el" href="_e_t_vp_command_8cc_source.html#l00064">64</a> of file <a class="el" href="_e_t_vp_command_8cc_source.html">ETVpCommand.cc</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2e48442e8622a56972f33f46971f8da4"></a><!-- doxytag: member="ETVpCommand::accepted" ref="a2e48442e8622a56972f33f46971f8da4" args="(ETSheetView *trg_vp)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void ETVpCommand::accepted </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>trg_vp</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>the class is informed that the command is being accepted </p>
<p>The command may or may not implement special functionality for this event. It is similar to an Ok button pushed in a dialog. The class is guaranteed to recieve a <a class="el" href="class_e_t_vp_command.html#ae35397d6f001ef13361fbf0fd4ef75e2" title="the class is informed that the command is being canceled">cancel()</a> call just after the call to this function without any other calls to this class inbetween. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">trg_vp</td><td>target viewport </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="class_e_t_vp_cmd___edit_sub_i.html#ac704fb84ec5a9867aa44ae7d2e3065e1">ETVpCmd_EditSubI</a>.</p>

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00183">183</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae35397d6f001ef13361fbf0fd4ef75e2"></a><!-- doxytag: member="ETVpCommand::cancel" ref="ae35397d6f001ef13361fbf0fd4ef75e2" args="(ETSheetView *trg_vp)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void ETVpCommand::cancel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>trg_vp</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>the class is informed that the command is being canceled </p>
<p>The call to this function may or may not be preceded by a call to <a class="el" href="class_e_t_vp_command.html#a2e48442e8622a56972f33f46971f8da4" title="the class is informed that the command is being accepted">accepted()</a>, depending on the user actions. It is usually called just before destroying the instance. However, the implementations shall free allocated resources here and not in destructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">trg_vp</td><td>target viewport </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="class_e_t_vp_cmd___edit_sub_i.html#aa6adbc6924f7c6bfdd3e725a2de5ff2f">ETVpCmd_EditSubI</a>, <a class="el" href="class_e_t_vp_cmd___new_sub_i.html#ac38777a52e6a283a97995a3282d359c5">ETVpCmd_NewSubI</a>, and <a class="el" href="class_e_t_vp_cmd___new_top_elem.html#a1d8a135c9db80153f9f22845bc01399f">ETVpCmd_NewTopElem</a>.</p>

</div>
</div>
<a class="anchor" id="ad3fb068e50fe8f518265c06c58fb2680"></a><!-- doxytag: member="ETVpCommand::context" ref="ad3fb068e50fe8f518265c06c58fb2680" args="(ETSheetView *vp, QContextMenuEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::context </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QContextMenuEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00196">196</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="a995a48ef9449601777474c4e4453d649"></a><!-- doxytag: member="ETVpCommand::dragEnter" ref="a995a48ef9449601777474c4e4453d649" args="(ETSheetView *vp, QDragEnterEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::dragEnter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QDragEnterEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00201">201</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="ace5d4b4b669703df76525d2cc875e26a"></a><!-- doxytag: member="ETVpCommand::dragLeave" ref="ace5d4b4b669703df76525d2cc875e26a" args="(ETSheetView *vp, QDragLeaveEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::dragLeave </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QDragLeaveEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00206">206</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7bc954d05ad1b032b666bc1c04d358e7"></a><!-- doxytag: member="ETVpCommand::dragMove" ref="a7bc954d05ad1b032b666bc1c04d358e7" args="(ETSheetView *vp, QDragMoveEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::dragMove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QDragMoveEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00211">211</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9a8566dcd135de2105044f0558a15dbf"></a><!-- doxytag: member="ETVpCommand::drop" ref="a9a8566dcd135de2105044f0558a15dbf" args="(ETSheetView *vp, QDropEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::drop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QDropEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00216">216</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab601006c812a493b2265a568816b4a0b"></a><!-- doxytag: member="ETVpCommand::keyPress" ref="ab601006c812a493b2265a568816b4a0b" args="(ETSheetView *vp, QKeyEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::keyPress </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QKeyEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00221">221</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="abb89aac207b14f8ab95270e9f0612adc"></a><!-- doxytag: member="ETVpCommand::keyRelease" ref="abb89aac207b14f8ab95270e9f0612adc" args="(ETSheetView *vp, QKeyEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::keyRelease </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QKeyEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00226">226</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="afb56544aa243702fd1776e5b7502b5a0"></a><!-- doxytag: member="ETVpCommand::mouseDoubleClick" ref="afb56544aa243702fd1776e5b7502b5a0" args="(ETSheetView *vp, QMouseEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::mouseDoubleClick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00231">231</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="abce6c7662c51e5c3a20d90d39b9adf92"></a><!-- doxytag: member="ETVpCommand::mouseMove" ref="abce6c7662c51e5c3a20d90d39b9adf92" args="(ETSheetView *vp, QMouseEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::mouseMove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00236">236</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad71a8b31e1ba5256e43f21da9c82ff95"></a><!-- doxytag: member="ETVpCommand::mousePress" ref="ad71a8b31e1ba5256e43f21da9c82ff95" args="(ETSheetView *vp, QMouseEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::mousePress </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="class_e_t_vp_cmd___edit_sub_i.html#af2460956187c96ea18ca7e41cad7432a">ETVpCmd_EditSubI</a>, <a class="el" href="class_e_t_vp_cmd___new_sub_i.html#af43962ab74c31b2c931b71ea8d656238">ETVpCmd_NewSubI</a>, and <a class="el" href="class_e_t_vp_cmd___new_top_elem.html#ab4ab2684f95e2805d35275230e436dde">ETVpCmd_NewTopElem</a>.</p>

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00241">241</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="a82c24bb89784483878867836cbe60a69"></a><!-- doxytag: member="ETVpCommand::mouseRelease" ref="a82c24bb89784483878867836cbe60a69" args="(ETSheetView *vp, QMouseEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::mouseRelease </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00246">246</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="a197c3d7038f8d962f650fd680d97bac6"></a><!-- doxytag: member="ETVpCommand::paint" ref="a197c3d7038f8d962f650fd680d97bac6" args="(ETSheetView *vp, QPaintEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::paint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QPaintEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00251">251</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<a class="anchor" id="abb40f35d33a109f7550d91af85de0218"></a><!-- doxytag: member="ETVpCommand::start" ref="abb40f35d33a109f7550d91af85de0218" args="(ETSheetView *trg_vp)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>trg_vp</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>the class is informed that the command is starting </p>
<p>Commands are started by creating an instance of a class inherited from <a class="el" href="class_e_t_vp_command.html" title="abstract class representing prerequisites for a command running in a ETSheetView">ETVpCommand</a> and passing it to startCommand(). While current implementation will always call <a class="el" href="class_e_t_vp_command.html#abb40f35d33a109f7550d91af85de0218" title="the class is informed that the command is starting">ETVpCommand::start()</a>, this may change in the future. As a result the command (class) shall only initialise itself when it recieves the <a class="el" href="class_e_t_vp_command.html#abb40f35d33a109f7550d91af85de0218" title="the class is informed that the command is starting">ETVpCommand::start()</a>, not in constructor.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true to continue loading or false to cancel </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">trg_vp</td><td>target viewport </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="class_e_t_vp_cmd___edit_sub_i.html#a1607bf89908ee74c901fa123f96e2ec5">ETVpCmd_EditSubI</a>, <a class="el" href="class_e_t_vp_cmd___new_sub_i.html#a9651c0a51ed7254784f57e73ab91e90d">ETVpCmd_NewSubI</a>, and <a class="el" href="class_e_t_vp_cmd___new_top_elem.html#a225888f051e76aa8789d26a9199ee4ce">ETVpCmd_NewTopElem</a>.</p>

</div>
</div>
<a class="anchor" id="a8ccab4db3b4322f97b9cb454bb202c48"></a><!-- doxytag: member="ETVpCommand::wheel" ref="a8ccab4db3b4322f97b9cb454bb202c48" args="(ETSheetView *vp, QWheelEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ETVpCommand::wheel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>vp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QWheelEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_e_t_vp_command_8h_source.html#l00256">256</a> of file <a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_e_t_vp_command_8h_source.html">ETVpCommand.h</a></li>
<li><a class="el" href="_e_t_vp_command_8cc_source.html">ETVpCommand.cc</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_e_t_vp_command.html">ETVpCommand</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

    <li class="footer">Generated on Sun Oct 23 2011 22:06:50 for EquTemper by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
   </ul>
 </div>
</body>
</html>
